<template>
<div>
  <div class="bg" >
    <div class="first_type_bl bg">
  <div class="newcate-body">
    <div class="common-newcate newcate-hot">
      <i class="iconfont icon-huo"
         style="display: block;position: absolute;left: 1px;top: -5px;font-size: 54px;color: #1e9fff;"></i>
      <span
        style="float: left;font-size: 16px;color: #1e9fff;border-right: 1px solid #dcdcdc;margin-left: 10px;">今日热门：</span>
      <a class="allhide" href="javascript:void(0)">隐藏二级目录</a>
      <ul class="common-clearboth">
        <li><a href="http://oe.11kys.cn/goodlist/recate/rid/1.html" target="_blank" style="color:#000">推荐目录</a>
        </li>
        <li><a href="http://oe.11kys.cn/goodlist/recate/rid/2.html" target="_blank" style="color:#000">推荐目录</a>
        </li>
      </ul>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color:">测试目录</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlist/2172.html" target="_blank" style="color:">游戏点卡</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">网游加速器</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6037.html" target="_blank" style="color: #000000;">赛博加速器</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">视频会员专区</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6041.html" target="_blank" style="color: #000000;">腾讯视频</a><a
      href="http://oe.11kys.cn/goodlists/6042.html" target="_blank" style="color: #000000;">爱奇艺</a><a
      href="http://oe.11kys.cn/goodlists/6043.html" target="_blank" style="color: #000000;">优酷土豆</a><a
      href="http://oe.11kys.cn/goodlists/6044.html" target="_blank" style="color: #000000;">芒果TV</a><a
      href="http://oe.11kys.cn/goodlists/6045.html" target="_blank" style="color: #000000;">搜狐影视</a><a
      href="http://oe.11kys.cn/goodlists/6046.html" target="_blank" style="color: #000000;">pptv</a><a
      href="http://oe.11kys.cn/goodlists/6047.html" target="_blank" style="color: #000000;">南瓜电影</a><a
      href="http://oe.11kys.cn/goodlists/6048.html" target="_blank" style="color: #000000;">咪咕视频</a><a
      href="http://oe.11kys.cn/goodlists/6049.html" target="_blank" style="color: #000000;">哔哩哔哩</a><a
      href="http://oe.11kys.cn/goodlists/6050.html" target="_blank" style="color: #000000;">1905电影</a><a
      href="http://oe.11kys.cn/goodlists/6051.html" target="_blank" style="color: #000000;">乐视视频</a><a
      href="http://oe.11kys.cn/goodlists/6052.html" target="_blank" style="color: #000000;">欢喜首映会员</a><a
      href="http://oe.11kys.cn/goodlists/6053.html" target="_blank" style="color: #000000;">埋堆堆</a><a
      href="http://oe.11kys.cn/goodlists/6054.html" target="_blank" style="color: #000000;">人人视频</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">外卖服务</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6070.html" target="_blank" style="color: #000000;">美团外卖</a><a
      href="http://oe.11kys.cn/goodlists/6071.html" target="_blank" style="color: #000000;">饿了么会员</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">体育赛事</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6073.html" target="_blank" style="color: #000000;">爱奇艺体育</a><a
      href="http://oe.11kys.cn/goodlists/6074.html" target="_blank" style="color: #000000;">PP体育</a><a
      href="http://oe.11kys.cn/goodlists/6075.html" target="_blank" style="color: #000000;">QQ体育</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">生活服务</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6077.html" target="_blank" style="color: #000000;">新浪微博会员</a><a
      href="http://oe.11kys.cn/goodlists/6078.html" target="_blank" style="color: #000000;">网易考拉会员</a><a
      href="http://oe.11kys.cn/goodlists/6079.html" target="_blank" style="color: #000000;">迅雷会员</a><a
      href="http://oe.11kys.cn/goodlists/6080.html" target="_blank" style="color: #000000;">keep会员</a><a
      href="http://oe.11kys.cn/goodlists/6081.html" target="_blank" style="color: #000000;">中石化</a><a
      href="http://oe.11kys.cn/goodlists/6082.html" target="_blank" style="color: #000000;">同程旅行</a><a
      href="http://oe.11kys.cn/goodlists/6083.html" target="_blank" style="color: #000000;">中石油</a><a
      href="http://oe.11kys.cn/goodlists/6084.html" target="_blank" style="color: #000000;">百度网盘</a><a
      href="http://oe.11kys.cn/goodlists/6085.html" target="_blank" style="color: #000000;">百度文库会员</a><a
      href="http://oe.11kys.cn/goodlists/6086.html" target="_blank" style="color: #000000;">菲住酒店</a><a
      href="http://oe.11kys.cn/goodlists/6087.html" target="_blank" style="color: #000000;">瑞幸咖啡</a><a
      href="http://oe.11kys.cn/goodlists/6088.html" target="_blank" style="color: #000000;">WPS会员</a><a
      href="http://oe.11kys.cn/goodlists/6089.html" target="_blank" style="color: #000000;">携程旅行</a><a
      href="http://oe.11kys.cn/goodlists/6090.html" target="_blank" style="color: #000000;">E洗袋</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">音乐会员</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6092.html" target="_blank" style="color: #000000;">喜马拉雅</a><a
      href="http://oe.11kys.cn/goodlists/6093.html" target="_blank" style="color: #000000;">QQ音乐包</a><a
      href="http://oe.11kys.cn/goodlists/6094.html" target="_blank" style="color: #000000;">酷狗会员</a><a
      href="http://oe.11kys.cn/goodlists/6095.html" target="_blank" style="color: #000000;">网易云会员</a><a
      href="http://oe.11kys.cn/goodlists/6096.html" target="_blank" style="color: #000000;">酷我音乐会员</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">在线教育</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6098.html" target="_blank" style="color: #000000;">樊登读书</a><a
      href="http://oe.11kys.cn/goodlists/6099.html" target="_blank" style="color: #000000;">作业帮</a><a
      href="http://oe.11kys.cn/goodlists/6100.html" target="_blank" style="color: #000000;">知乎会员</a><a
      href="http://oe.11kys.cn/goodlists/6101.html" target="_blank" style="color: #000000;">凯叔讲故事</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">出行车服务</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6103.html" target="_blank" style="color: #000000;">美团单车</a><a
      href="http://oe.11kys.cn/goodlists/6104.html" target="_blank" style="color: #000000;">靑桔单车</a><a
      href="http://oe.11kys.cn/goodlists/6105.html" target="_blank" style="color: #000000;">滴滴出行</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">阅读</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6107.html" target="_blank" style="color: #000000;">快看漫画</a><a
      href="http://oe.11kys.cn/goodlists/6108.html" target="_blank" style="color: #000000;">蜻蜓FM</a><a
      href="http://oe.11kys.cn/goodlists/6109.html" target="_blank" style="color: #000000;">懒人听书</a><a
      href="http://oe.11kys.cn/goodlists/6110.html" target="_blank" style="color: #000000;">QQ阅读</a><a
      href="http://oe.11kys.cn/goodlists/6111.html" target="_blank" style="color: #000000;">掌阅书城</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">直播平台充值</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6113.html" target="_blank" style="color: #000000;">陌陌直播</a><a
      href="http://oe.11kys.cn/goodlists/6114.html" target="_blank" style="color: #000000;">抖音直播</a><a
      href="http://oe.11kys.cn/goodlists/6115.html" target="_blank" style="color: #000000;">快手直播</a>
    </div>
  </div>
  <div class="common-newcate common-newcate-item">
    <div class="newcate-item-header overwords">
      <i class="iconfont icon-liebiao icon" style="color: #009fff;"></i>
      <span style="margin-left: 8px; color: #000000;">热门官方激活码</span>
      <a class="hide" href="javascript:void(0)">
        <em style="display: inline;font-style: normal;font-weight: normal;">隐藏</em>
        <i style="font-style: normal; font-weight: normal; display: none;">显示</i></a>
    </div>

    <div class="newcate-item-body common-clearboth">
      <a href="http://oe.11kys.cn/goodlists/6117.html" target="_blank" style="color: #000000;">美团外卖激活码</a><a
      href="http://oe.11kys.cn/goodlists/6118.html" target="_blank" style="color: #000000;">滴滴券</a><a
      href="http://oe.11kys.cn/goodlists/6119.html" target="_blank" style="color: #000000;">腾讯视频会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6120.html" target="_blank" style="color: #000000;">爱奇艺会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6121.html" target="_blank" style="color: #000000;">优酷会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6122.html" target="_blank" style="color: #000000;">搜狐影视会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6123.html" target="_blank" style="color: #000000;">芒果TV会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6124.html" target="_blank" style="color: #000000;">同程艺龙激活码</a><a
      href="http://oe.11kys.cn/goodlists/6125.html" target="_blank" style="color: #000000;">电视端TV会员激活码</a><a
      href="http://oe.11kys.cn/goodlists/6126.html" target="_blank" style="color: #000000;">喜马拉雅激活码</a><a
      href="http://oe.11kys.cn/goodlists/6127.html" target="_blank" style="color: #000000;">豪华绿钻激活码</a><a
      href="http://oe.11kys.cn/goodlists/6128.html" target="_blank" style="color: #000000;">网易云激活码</a><a
      href="http://oe.11kys.cn/goodlists/6129.html" target="_blank" style="color: #000000;">酷我畅听丨激活码</a><a
      href="http://oe.11kys.cn/goodlists/6130.html" target="_blank" style="color: #000000;">App Store
      充值卡</a><a href="http://oe.11kys.cn/goodlists/6131.html" target="_blank"
                style="color: #000000;">百度云盘会员激活码</a><a href="http://oe.11kys.cn/goodlists/6132.html" target="_blank"
                                                        style="color: #000000;">keep激活码</a><a href="http://oe.11kys.cn/goodlists/6133.html" target="_blank"
                                                                                              style="color: #000000;">饿了么会员激活码</a><a href="http://oe.11kys.cn/goodlists/6134.html" target="_blank"
                                                                                                                                     style="color: #000000;">包图网会员激活码</a>
    </div>
  </div>
  <div class="common-footer common-fluid">
    <div class="common-container footer-box">
      <p>

        版权所有:<a href="javascript:;">{{ site.icp }}</a> <br> ICP备案号:<a href="/"
                                                              target="_blank">{{ site.icp }}</a> <a href="javascript:;" style="margin:10px">运营商:{{ site.icp }}</a> <a
        href="/" target="_blank"><img src="http://baota.111zh.cn/Public/Front/xinmeng1/images/icp.png" alt=""
                                                              style="margin-right: 5px;vertical-align: middle;">公安网备{{ site.icp2 }}号</a>
      </p>
    </div>
  </div>

</div>
    </div>
  </div>
</div>
</template>

<script>
import Recommends from '~/components/recommends'
import Quick from '~/components/quick'
import getPlatform from "~/common/platform";
export default {
  layout: "webin2",
  components: {
    Quick,
    Recommends
  },
  data() {
    return {
      recommendsCategory: [],
      searchText: '',
      categoryList: [],
      imgTip: {
        left: '0px',
        top: '0px',
        src: ''
      }
    }
  },
  async mounted() {
    const res = await this.$axios.get('/goods/catalog/tree')
    if (res.code === 1001 && res.body) {
      this.categoryList = res.body
    }
  },
  methods: {
    doSearch() {
      if (!this.searchText) {
        return this.$message.error('请输入关键字')
      }
      location.href = `/goods-list?keywords=${this.searchText}`
    },
    showImg(cate, e) {
      if (cate && cate.img) {
        const { x, y } = e.target.getBoundingClientRect()
        this.imgTip.top = `${document.documentElement.scrollTop + y - 330}px`
        this.imgTip.left = `${window.scrollX + x - 150}px`
        this.imgTip.src = cate.img
      } else {
        this.imgTip.src = ''
      }
    }
  }
}
</script>

<style lang="scss" scoped>
@import 'assets/style/layer.css';
@import 'assets/style/layui.css';
@import 'assets/style/style2/common.css';
@import 'assets/style/style2/openlogin.css';
@import 'assets/style/style2/style.css';
@import 'assets/style/style2/font_1451715_0505c2bxv7b7.css';
.hide {
  float: right;
  color: #a0a0a0;

}

.allhide {
  float: right;
  color: #a0a0a0;

}

.common-newcate {
  position: relative;
  width: 1200px;
  margin: 0 auto 10px;
  background: white;
  padding: 12px 10px;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.newcate-hot {
  padding-left: 45px;
  min-height: 45px;
}

.newcate-hot img {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 20px;
  top: 14px;
}

.newcate-hot ul li {
  position: relative;
  float: left;
}

.newcate-hot ul li::after {
  position: absolute;
  content: '';
  right: 0;
  width: 1px;
  height: 15px;
  top: 5px;
  background: #dcdcdc;
}

.newcate-hot ul li:nth-last-child(1)::after {
  content: none;
}

.newcate-hot ul li a {
  font-size: 12px;
  display: block;
  line-height: 25px;
  padding: 0 20px;
  transition: 0.2s;
}

.newcate-hot ul li a:hover {
  color: inherit;
  text-decoration: underline;
}

.common-newcate-item {
  position: relative;
  padding: 0 20px;
}

.common-newcate-item .newcate-item-header img {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  left: 0px;
  top: 14px;
}

.newcate-item-body {
  position: relative;
  width: 100%;
  padding: 15px 0;
  border-top: 1px solid #dcdcdc;
}

.newcate-item-body a {
  width: 20%;
  float: left;
  font-size: 12px;
  line-height: 40px;
  padding-right: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: 0.2s;
  box-sizing: border-box;

  border-bottom: 1px solid #f4f5f8;
  text-align: center;
  /*     margin-left: -1px;
  border: 1px solid #ddd;
  margin-bottom: -1px; */
}



.cate-ucenterbox {
  position: relative;
  width: 1200px;
  margin: 10px auto 0;
  background: white;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 5px #dcdcdc;
}

.cate-userleft {
  position: relative;
  float: left;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #dcdcdc;
}

.cate-userleft img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.cate-userleft p {
  font-size: 12px;
  line-height: 30px;
}

.cate-userright {
  position: relative;
  margin-left: 20px;
  width: 200px;
  float: left;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.cate-userright p {
  line-height: 35px;
}

.cate-user-btns {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.cate-user-btns .layui-btn {
  height: 28px;
  line-height: 28px;
}

.tradebox-left {
  border-left: 1px solid #dcdcdc;
  border-right: 0;
}

.tradebox-con {
  margin-top: 20px;
}

.tradebox-con ul li a i {
  font-size: 50px;
}

.tradebox-right {
  width: 765px;
  margin-left: 23px;
}

.tradebox-con ul li {
  width: initial;
  flex: 1;
}
</style>
